package com.benz.order.util.exception;

public class DivideTest2 {
    public static void main(String[] args) {
        int ret = 0;
        try {
            ret = divide(4,0);
            System.out.println("000000000");
        } catch ( Exception e) {
            System.out.println("捕获到的异常信息："+e.getMessage());
        }
        System.out.println("ret:"+ret);
    }
    static int divide(int x,int y)  {
        int ret = x/y;
        return ret;
    }
}
